insert variables into string c#

81

insert variables into string c# -

string data = "Mr. Rogers";
var str = $"Hello {data}, how are you doing?";

Comments

Submit
0 Comments